package com.zwt.constant;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by zwt on 2018/8/24.
 */
@Component
@ConfigurationProperties(prefix = "url", ignoreUnknownFields = false)
@Configuration
@PropertySource("classpath:config/url.properties")
public class UrlConstant {

    private String userUrl;

    private String eurekaUserUrl;

    private String selectByMoblie;

    private String serverUrl;

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public String getSelectByMoblie() {
        return selectByMoblie;
    }

    public void setSelectByMoblie(String selectByMoblie) {
        this.selectByMoblie = selectByMoblie;
    }

    public String getEurekaUserUrl() {
        return eurekaUserUrl;
    }

    public void setEurekaUserUrl(String eurekaUserUrl) {
        this.eurekaUserUrl = eurekaUserUrl;
    }

    public String getUserUrl() {
        return userUrl;
    }

    public void setUserUrl(String userUrl) {
        this.userUrl = userUrl;
    }
}
